package com.freecloud.javabasics.thread;

import com.freecloud.common.LoggerUtil;

/**
 *
 * @Author: maomao
 * @Date: 2021-03-24 16:44
 */
public class CPUNumber {
    public static void main(String[] args) {
        int CPU_NUMBER = Runtime.getRuntime().availableProcessors();

        LoggerUtil.printThread(String.format("CPU : %s",CPU_NUMBER));
    }
}
